import Vue from 'vue';
import VueCompositionAPI, { createApp } from '@vue/composition-api';
import App from './App';
import ElementUI from 'element-ui';
import widgetConfig from './registry';
import 'element-ui/lib/theme-chalk/index.css';
import 'normalize.css';

const { componentList, componentMap } = widgetConfig;
Vue.use(VueCompositionAPI);
const app = createApp(App, { componentList, componentMap });
app.config.productionTip = false;
app.use(ElementUI);
app.mount('#app');
